package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.mbc.rmt.data.TypeDataList;
import com.mbc.rmt.entities.Type;
import com.mbc.rmt.entities.TypeRpt;

public interface TypeDAO {

	public void create(Type entity)throws SQLException;
	public void update(Type entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public Type findByCode(String code, long branchId)throws SQLException;
	public TypeDataList findBanks(Type cri)throws SQLException;
	public TypeDataList getTypeList(TypeRpt type) throws SQLException;
	ResultSet prepareTypeReport(TypeRpt type)throws SQLException;
}
